$blueBg: #4882f0;
$yellowBg: #ff9900;
$color: #222;
$border: #ddd;
$size: 14px;
// 重置layui

.layui-form {
  .layui-form-label {
    width: auto;
    padding: 9px 0;
    font-weight: lighter;
    text-align: left;
  }

  .layui-btn {
    width: 100%;
    color: #fff;
    border: 0;
    border-radius: 35px;
  }
}
.goodsMageView {
  .addGoodsStep {
    overflow: hidden;
    background: url("../images/buzou.jpg") no-repeat 130px 10px;
    height: 84px;

    h2 {
      float: left;
      font-size: 15px;
      line-height: 84px;
      color: $blueBg;
    }

    .stepBox {
      float: left;
    }

    li {
      float: left;
      height: 22px;
      line-height: 18px;
      margin: 63px 150px 0 0;
      font-size: 14px;
      color: #666;
    }

    em {
      border: 1px solid #666;
      margin-right: 5px;
      font-style: normal;
      border-radius: 100%;
      height: 15px;
      width: 15px;
      float: left;
      text-align: center;
      line-height: 15px;
      color: #666;
      font-size: 14px;
    }
  }
  .delGoods {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    .layui-form {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #fff;
    }
    input[type="button"] {
      width: 128px;
      height: 38px;
      line-height: 38px;
      color: #fff;
      border-radius: 35px;
      cursor: pointer;
    }
    ul {
      padding: 20px 40px;
    }
    .title {
      height: 43px;
      line-height: 43px;
      padding: 0 10px;
      font-size: 14px;
      color: #fff;
      background-color: $blueBg;
    }
    #lblRemark {
      margin-bottom: 15px;
    }
  }
  .errorbox {
    display: none;
    height: 30px;
    line-height: 30px;
    padding: 5px;
    padding-left: 30px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333333;
    border: 1px solid #dd3c10;
    background-color: #ffebe8;
  }
  .selectGoods {
    // height: 37px;
    margin-top: 20px;

    .goodsOptions {
      .layui-btn {
        height: 22px;
        line-height: 22px;
        padding: 0 10px;
        border-radius: 10px;
      }
    }
  }

  .layui-table {
    .goodsName {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}

.selectBtn {
  background-color: $blueBg;
}

.refreshBtn,
.closeBtn {
  background-color: $yellowBg;
}

// 添加商品
.addGoodsView {
  width: 700px;
  margin: 0 auto;
  font-size: 14px;
  text-align: center;
  .layui-input-block {
    width: 404px;
    margin: 6px;
    margin-left: 130px;
  }
  .layui-input-inline {
    width: 404px;
  }
  .layui-form-label {
    width: 130px;
    text-align: right;
  }
  .layui-upload {
    .layui-input-inline {
      width: auto;
    }
    .layui-upload-list {
      margin: 0;
    }
  }
  h2 {
    margin: 6px;
    font-size: 20px;
    color: #ff3430;
  }
  .subtitle {
    display: inline-block;
    width: 100%;
    margin: 6px;
    color: #888;
  }
  #goodsName,
  #price,
  #category {
    background-color: rgb(235, 235, 228);
  }
  .uploadImgBtn {
    display: block;
    width: 100px;
    height: 70px;
    color: #000;
    // border: 1px dotted;
    border-radius: 0;
    background: url(../images/wk-tu_1.jpg) no-repeat center;
    &:hover {
      background: url(../images/wk-tu_2.jpg) no-repeat center;
    }
    .layui-btn {
      width: 100%;
      height: 100%;
      background-color: transparent;
    }
  }
  .warning {
    margin: 10px;
    color: #ff3430;
  }
  img {
    display: block;
  }
}
.goodsDetInfoView {
  width: 700px;
  margin: 0 auto;
  font-size: 14px;
  text-align: center;
  .layui-input-block {
    // width: 404px;
    margin: 6px;
    margin-left: 154px;
    p {
      line-height: 38px;
      text-align: left;
    }
  }
  .layui-input-inline {
    // width: 404px;
  }
  .layui-form-label {
    width: 154px;
    text-align: right;
  }
  h2 {
    margin: 6px;
    margin-bottom: 20px;
    font-size: 20px;
    color: #ff3430;
  }
  .uploadImgBtn {
    display: block;
    width: 100px;
    height: 70px;
    color: #000;
    // border: 1px dotted;
    border-radius: 0;
    .layui-btn {
      width: 100%;
      height: 100%;
      background-color: transparent;
    }
  }
  img {
    display: block;
  }
}
